package com.example.designpattenexample.template.example;

public class Client {
    public static void main(String[] args) {
        Account account = new DemandAccount();
        System.out.println(account.calculateInterest());

        account = new FixedAccount();
        System.out.println(account.calculateInterest());

    }
}
